<?php
// app/api/service/payment/AbstractPayment.php
declare(strict_types=1);

namespace app\api\service\payment;

abstract class AbstractPayment implements PaymentInterface
{
    protected $orderModel;
    protected $error;

    public function setError($error)
    {
        $this->error = $error;
        return false;
    }

    public function getError()
    {
        return $this->error;
    }
}